package org.hxyjs.dao;

import org.hxyjs.entity.Label;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface LabelDao {
    public List<Label>  getAllLabels()  throws Exception;
    public Label  getLabelByUno(String uno)  throws Exception;
    public List<Label> getLabelsByPage(PageInfo pageInfo);
    //增删改的返回值都是整数
    Integer deleteLabel(String uno)  throws Exception;
    Integer updateLabel(Label label)  throws Exception;
    Integer addLabelByUno(Label label)  throws Exception;

    Label getLabelsWithOrders(String uno)throws Exception;

    Label getAccountByAccountName(String uno)throws Exception;



}
